package cn.tx.dao;

import cn.tx.model.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherDao {

    public Teacher findByName(String name);
    public int addTeacher(Teacher teacher);
    public List<Teacher> findList(Map<String,Object> querymap);
    public List<Teacher> findAll();
    public int findTotal(Map<String,Object> querymap);
    public int UpdateById(Teacher teacher);
    public int delete(String ids);
    public Teacher findByUsername(String username);


}
